package com.woniu.service.impl;

import com.woniu.dao.*;
import com.woniu.entity.SecondTrial;
import com.woniu.service.SecondTrialService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
@Service
public class SecondTrialServiceImpl implements SecondTrialService {
    @Resource
    SecondTrialDao secondTrialDao;
    @Override
    public List<SecondTrial> findSecondTrial(SecondTrial secondTrial) {
        return secondTrialDao.selectSecondTrialList(secondTrial);
    }
    public SecondTrial findAuditStatus(Integer loanId) {
        return secondTrialDao.findAuditStatus(loanId);
    }

    @Override
    public boolean secondTrialAdvice(SecondTrial secondTrial) {
        return secondTrialDao.secondTrialAdvice(secondTrial);
    }
}
